﻿namespace Jim.K3Cloud;

public class K3CloudLicenseItem : EntityBaseId<string>
{
    public string ParentId { get; set; }
    public string Type { get; set; }
    public string TypeName
    {
        get
        {
            switch (Type)
            {
                case "Group": return "分组";
                case "SubSystem": return "模块";
                case "Feature": return "特性";
                default:
                    return "未识别";
            }
        }
    }
    public string Name { get; set; }
    public int Quantity { get; set; }
    public bool Isbought { get; set; }
    public List<K3CloudLicenseItem> Children { get; set; }
}
